package com.example.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MouldReportExcel {

    @Data
    public static class MbaExcel {

        @ApiModelProperty(value = "模具编号")
        @ExcelProperty({"模具基本资料", "模具编号"})
        private String deviceid;

        @ApiModelProperty(value = "模具名称")
        @ExcelProperty({"模具基本资料", "模具名称"})
        private String devicename;

        @ApiModelProperty(value = "模具类型")
        @ExcelProperty({"模具基本资料", "模具类型"})
        private String mouldType;

        @ApiModelProperty(value = "模穴数")
        @ExcelProperty({"模具基本资料", "模穴数"})
        private Integer cavityNumber;

        @ApiModelProperty(value = "模具已使用次数")
        @ExcelProperty({"模具基本资料", "模具已使用次数"})
        private String usedNumber;

        @ApiModelProperty(value = "所属单位")
        @ExcelProperty({"模具基本资料", "所属单位"})
        private String affiliation;

        @ApiModelProperty(value = "模具状态")
        @ExcelProperty({"模具基本资料", "模具状态"})
        private String status;

        @ApiModelProperty(value = "资源类型")
        @ExcelProperty({"模具基本资料", "资源类型"})
        private String resourceType;
    }

    @Data
    public static class McExcel {

        @ApiModelProperty(value = "领用单别")
        @ExcelProperty({"模具变动", "领用单别"})
        private String TT001;

        @ApiModelProperty(value = "领用单号")
        @ExcelProperty({"模具变动", "领用单号"})
        private String TT002;

        @ApiModelProperty(value = "领用序号")
        @ExcelProperty({"模具变动", "领用序号"})
        private String TT003;

        @ApiModelProperty(value = "领用日期")
        @ExcelProperty({"模具变动", "领用日期"})
        private String TS007;

        @ApiModelProperty(value = "领用部门")
        @ExcelProperty({"模具变动", "领用部门"})
        private String TS012;

        @ApiModelProperty(value = "发模原因")
        @ExcelProperty({"模具变动", "发模原因"})
        private String TS013;

        @ApiModelProperty(value = "使用机器ID")
        @ExcelProperty({"模具变动", "使用机器ID"})
        private String UDF07;

        @ApiModelProperty(value = "使用机器编号")
        @ExcelProperty({"模具变动", "使用机器编号"})
        private String UDF08;

        @ApiModelProperty(value = "使用机器名称")
        @ExcelProperty({"模具变动", "使用机器名称"})
        private String UDF09;

        @ApiModelProperty(value = "派工单别")
        @ExcelProperty({"模具变动", "派工单别"})
        private String UDF01;

        @ApiModelProperty(value = "派工单号")
        @ExcelProperty({"模具变动", "派工单号"})
        private String UDF02;

        @ApiModelProperty(value = "预计生产模次数")
        @ExcelProperty({"模具变动", "预计生产模次数"})
        private BigDecimal TT021;

        @ApiModelProperty(value = "退模单别")
        @ExcelProperty({"模具变动", "退模单别"})
        private String TV001;

        @ApiModelProperty(value = "退模单号")
        @ExcelProperty({"模具变动", "退模单号"})
        private String TV002;

        @ApiModelProperty(value = "序号")
        @ExcelProperty({"模具变动", "序号"})
        private String TV003;
    }

    @Data
    public static class MbExcel {

        @ApiModelProperty("单别")
        @ExcelProperty({"模具保养", "单别"})
        private String TE001;

        @ApiModelProperty("单号")
        @ExcelProperty({"模具保养", "单号"})
        private String TE002;

        @ApiModelProperty("单据日期")
        @ExcelProperty({"模具保养", "单据日期"})
        private String TE003;

        @ApiModelProperty("负责人名称")
        @ExcelProperty({"模具保养", "负责人名称"})
        private String TE017;

        @ApiModelProperty("完成状况 0.未执行、1.完成、2.未完成结束")
        @ExcelProperty({"模具保养", "完成状况"})
        private String TE019;

        @ApiModelProperty("计划编号")
        @ExcelProperty({"模具保养", "计划编号"})
        private String TE029;

        @ApiModelProperty("计划名称")
        @ExcelProperty({"模具保养", "计划名称"})
        private String TE030;

        @ApiModelProperty("备注")
        @ExcelProperty({"模具保养", "备注"})
        private String TE027;
    }

    @Data
    public static class MxExcel {

        @ApiModelProperty("单别")
        @ExcelProperty({"模具维修", "单别"})
        private String TF001;

        @ApiModelProperty("单号")
        @ExcelProperty({"模具维修", "单号"})
        private String TF002;

        @ApiModelProperty("序号")
        @ExcelProperty({"模具维修", "序号"})
        private String TF003;

        @ApiModelProperty("单据日期")
        @ExcelProperty({"模具维修", "单据日期"})
        private String TE003;

        @ApiModelProperty("负责人名称")
        @ExcelProperty({"模具维修", "负责人名称"})
        private String TE017;

        @ApiModelProperty("维护名称")
        @ExcelProperty({"模具维修", "维护名称"})
        private String UDF02;

        @ApiModelProperty("送修原因")
        @ExcelProperty({"模具维修", "送修原因"})
        private String TE048;

        @ApiModelProperty("备注")
        @ExcelProperty({"模具维修", "备注"})
        private String TF012;
    }

}
